//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.0.2723.0
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl, Version=1.0.2723.0.
// 
using System.Xml.Serialization;
using System;
using System.Web.Services.Protocols;
using System.Web.Services;


[System.Web.Services.WebServiceBindingAttribute(Name="QuoteServiceSoap", Namespace="http://tempuri.org/")]
public class QuoteService : System.Web.Services.Protocols.SoapHttpClientProtocol {
    
    public QuoteService() {
        this.Url = "http://localhost/wrox/4885/Application/Globalasax/Async/StockQuote/StockQuote.asm" +
"x";
    }
    
    [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetQuotes", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
    [return: System.Xml.Serialization.XmlArrayItemAttribute("QuoteDetails", IsNullable=true)]
    public QuoteDetails[] GetQuotes() {
        object[] results = this.Invoke("GetQuotes", new object[0]);
        return ((QuoteDetails[])(results[0]));
    }
    
    public System.IAsyncResult BeginGetQuotes(System.AsyncCallback callback, object asyncState) {
        return this.BeginInvoke("GetQuotes", new object[0], callback, asyncState);
    }
    
    public QuoteDetails[] EndGetQuotes(System.IAsyncResult asyncResult) {
        object[] results = this.EndInvoke(asyncResult);
        return ((QuoteDetails[])(results[0]));
    }
}

public class QuoteDetails {
    
    public string Symbol;
    
    public System.Single Price;
}
